package com.nt.thah.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Description: 用户财富
 * @author: ls
 * @Date: 2020-08-11 09:28:02
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UserAccount {

    @ApiModelProperty(value = "主键Id")
    private Integer id;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "账户余额(单位:分)")
    private Long balance;

    @ApiModelProperty(value = "累计总返佣(单位:分)")
    private Long totalCommission;

    @ApiModelProperty(value = "累计提现(单位:分)")
    private Long totalWithdrawal;

    @ApiModelProperty(value = "是否删除 1-是 0-否")
    private Integer delete;

    @ApiModelProperty(value = "业务字段更新时间")
    private String modTime;

    @ApiModelProperty(value = "创建时间")
    private String createTime;

    @ApiModelProperty(value = "更新时间")
    private String updateTime;

}